//
//  ViewController.m
//  HelloWorld
//
//  Created by student on 13-12-5.
//  Copyright (c) 2013年 student. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    UILabel *label1 = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 320, 50)];
    label1.text = @"Hello XCode";
    label1.font = [UIFont systemFontOfSize:48];
    label1.center = CGPointMake(320/2,480/2);
    label1.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:label1];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
